package com.ferryc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ferryc.entity.ProductCode;
import com.ferryc.service.IProductCodeService;
import com.ferryc.mapper.ProductCodeMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Ferry Chen on 2019-11-05.
 */
@Service
@Slf4j
public class ProductCodeServiceImpl extends ServiceImpl<ProductCodeMapper, ProductCode> implements IProductCodeService {

    @Autowired
    private ProductCodeMapper productCodeMapper;

    @Override
    public List<ProductCode> queryList(ProductCode pc) {
        return productCodeMapper.queryList(pc);
    }
}
